package com.dealinga.client;

import com.dealinga.shared.Server;
import com.dealinga.shared.User;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ServiceAsync {

	void registrate(User user, AsyncCallback<Server> callback);
	void subscribe(User user, AsyncCallback<String> callback) throws IllegalArgumentException;


}
